<!DOCTYPE html>
<html class="loginHtml">

	<head>
		<meta charset="utf-8">
		<title>登录--后台管理模板 </title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">
		<link rel="icon" href="../../favicon.ico">
		<link rel="stylesheet" href="layui/css/layui.css" media="all" />
		<!--<link rel="stylesheet" href="page/common/bootstrap-3.3.4-dist/css/bootstrap.min.css" />-->
		<link rel="stylesheet" href="css/public.css" media="all" />
		<link rel="stylesheet" href="page/common/zTreeStyle.css" />
		<style type="text/css">
			.layui-form {
				height: auto !important;
			}
			
			.header a {
				height: 45px;
				line-height: 45px;
				text-align: center;
				float: left;
				font-size: 16px;
			}
		</style>
	</head>

	<body class="loginBody">
		<form class="layui-form">
			<div class="layui-form-item input-item header layui-row">
				<a href="javascript:;" id="loginA" class="bord layui-col-xs6 layui-col-sm6 layui-col-md6 layui-col-lg6">登录</a>
				<a href="javascript:;" id="resA" class="layui-col-xs6 layui-col-sm6 layui-col-md6 layui-col-lg6">注册</a>
			</div>
			<div class="" id="loginHtml">
				<div class="layui-form-item input-item">
					<!--<label for="userName"></label>-->
					<input type="text" id="loginName" maxlength="11" placeholder="账户" autocomplete="off" id="userName" class="layui-input" lay-verify="required">
				</div>
				<div class="layui-form-item input-item">
					<!--<label for="password"></label>-->
					<input type="password" id="loginPass" placeholder="密码" autocomplete="off" id="password" class="layui-input" lay-verify="required">
				</div>
				<div>
					<input type="radio" name="accon" lay-filter="setacc" id="accon" />
					<label for="accon" style="position: relative;left:-30px;top:2px">记住账号和密码</label>
					<!--		<a href="javascript:;" id="forget" style="float: right; line-height: 34px;">忘记密码？</a>-->
				</div>
				<div class="layui-form-item">
					<button class="layui-btn layui-block" id="login" type="button">登录</button>
				</div>
			</div>
			<div id="resHtml" style="display: none;">
				<div class="layui-form-item input-item">
					<!--<label for="userName"></label>-->
					<input type="text" id="userNo" placeholder="员工编号" autocomplete="off" class="layui-input" lay-verify="required">
				</div>
				<div class="layui-form-item input-item">
					<!--<label for="userName"></label>-->
					<input type="text" id="resName" placeholder="姓名" autocomplete="off" class="layui-input" lay-verify="required">
				</div>
				<div class="layui-form-item input-item">
					<!--<label for="password"></label>-->
					<input type="password" id="resPass" placeholder="密码" autocomplete="off" class="layui-input" lay-verify="required">
				</div>
				<div class="layui-form-item input-item">
					<!--<label for="text"></label>-->
					<input type="number" id="resphon" oninput="if(value.length>11)value=value.slice(0,11)" placeholder="手机号" maxlength="11" autocomplete="off" id="password" class="layui-input" lay-verify="required">
				</div>
				<div class="layui-form-item input-item" style="position: relative;" id="compmove">
					<!--<label for="text">选择</label>-->
					<!--<select id="resclass">
					
				</select>-->

					<input type="text" id="resclas" readonly="" placeholder="单位" autocomplete="off" class="layui-input" lay-verify="required">

					<ul id="resclass" class="ztree" style="height: 300px;overflow: auto; display: none;position: absolute;width: 239px;z-index: 999;background:white;">

					</ul>

				</div>
				<div class="layui-form-item">
					<button class="layui-btn layui-block" id="res" type="button" lay-filter="login" lay-submit>注册用户</button>

				</div>
			</div>
		</form>

		<script type="text/javascript" src="page/common/jquery-1.11.3.min.js"></script>
		<script type="text/javascript" src="layui/layui.js"></script>
		<script type="text/javascript" src="page/common/config.js"></script>
		<script type="text/javascript" src="page/common/jquery.ztree.core.js"></script>
		<script type="text/javascript" src="page/common/jquery.ztree.excheck.js"></script>
		<script type="text/javascript" src="login.js"></script>
		<script>
			$("body").click(function() {
				$("#resclass").hide();
			})
			$('#resclas').click(function() {
				return false;
			});
			$('#resclass').click(function() {
				return false;
			});
		</script>
	</body>

</html>